package com.ysx.student.fangyahao.day20210910.studentmanagement.entity;

public class StundentEntity {

    private String username;

    private String password;

    private ScoreEntity score;

    public StundentEntity() {

    }

    public StundentEntity(String username, String password) {
        this.username = username;
        this.password = password;

    }


    public StundentEntity(String username, String password, ScoreEntity score) {
        this.username = username;
        this.password = password;
        this.score = score;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public ScoreEntity getScore() {
        return score;
    }

    public void setScore(ScoreEntity score) {
        this.score = score;
    }

    @Override
    public String toString() {
        return "StundentEntity{" +
                "username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", score=" + score +
                '}';
    }
}
